package com.example.mask.maskmobilesshop.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: Attribute
 * @author: Xlh
 * @date 2017年2月27日 下午5:09:51
 */
@TableName(value = "t_attribute")
public class Attribute implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 4025566811989481672L;

	/** 主键ID **/
	@TableId(type = IdType.AUTO, value = "attr_name_id")
	private Long attrNameId;

	/** 属性名称 **/
	@TableField(value = "attribute_name")
	private String attributeName;

	/** 属性类别 1SKU属性 2基本属性 3公共属性 4评论属性 **/
	@TableField(value = "type")
	private Integer type;

	/** 属性集ID **/
	@TableField(value = "list_id")
	private Long listId;

	/** 创建时间 **/
	@TableField(value = "create_time")
	private Date createTime;

	/** 创建人 **/
	@TableField(value = "create_user")
	private String createUser;

	/** 修改时间 **/
	@TableField(value = "update_time")
	private Date updateTime;

	/** 修改人 **/
	@TableField(value = "update_user")
	private String updateUser;

	public Long getAttrNameId() {
		return attrNameId;
	}

	public void setAttrNameId(Long attrNameId) {
		this.attrNameId = attrNameId;
	}

	public String getAttributeName() {
		return attributeName;
	}

	public void setAttributeName(String attributeName) {
		this.attributeName = attributeName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public Long getListId() {
		return listId;
	}

	public void setListId(Long listId) {
		this.listId = listId;
	}

}
